﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfSnqkGasAnalysis.Model;

namespace WpfSnqkGasAnalysis.IData
{
    /// <summary>
    ///（数据接口） 特殊气报告项，检测值
    /// </summary>
    /// 创建时间：2022-12-16 09:41:28。作者：王浩力
    public interface ITeshu_gas_itemDAL
    {
        /// <summary>
        /// 新增一条
        /// </summary>
        /// <param name="teshu_Gas_Item"></param>
        /// <returns></returns>
        /// 创建时间：2022-12-16 09:43:15。作者：王浩力
        IResult Add(Teshu_gas_item teshu_Gas_Item);

        /// <summary>
        /// 编辑
        /// </summary>
        /// <param name="teshu_Gas_Item"></param>
        /// <returns></returns>
        IResult Edit(Teshu_gas_item teshu_Gas_Item);

        /// <summary>
        /// 删除一条
        /// </summary>
        /// <param name="teshu_Gas_Item"></param>
        /// <returns></returns>
        /// 创建时间：2022-12-16 09:43:15。作者：王浩力
        IResult Delete(long teshu_Gas_ItemKEY);

        /// <summary>
        /// 获取列表
        /// </summary>
        /// <param name="teshu_gas_id">特殊气报告主表id</param>
        /// <returns></returns>
        /// 创建时间：2022-12-16 09:43:15。作者：王浩力
        List<Teshu_gas_item> GetList(long teshu_gas_id);

    }
}
